utilities.h File Reference

public methods for utilities.c More...

Go to the source code of this file.

Defines

#define CONVERT_TO_INT(lsb, msb)   ((lsb) + 0x0100*(msb))
#define LSB(num)   ((num) & 0xFF)
#define MSB(num)   ((num) >> 8)

Functions

void initializeBuffer (unsigned char *buf, unsigned char len)
void printBinary (unsigned char n)

Detailed Description

public methods for utilities.c

Rev
392
Author
dsmith
Date
2010-04-02 16:27:10 -0700 (Fri, 02 Apr 2010)

Function Documentation

void initializeBuffer ( unsigned char *  buf,
unsigned char  len 
)

Fills the messagePartBuffer with DEADBEEF to aid in debugging

void printBinary ( unsigned char  n  ) 

Prints a number in its binary form

 All Files Functions Variables
Generated on Fri Apr 9 17:52:41 2010 for CC2530ZNP Examples by  doxygen 1.6.3